package com.sinosoft.msf.base.supplier.pojo.entity;

import lombok.Data;
import org.apache.ibatis.type.JdbcType;
import tk.mybatis.mapper.annotation.ColumnType;

import javax.persistence.Column;
import javax.persistence.Id;
import javax.persistence.Table;
import java.time.LocalDate;
import java.util.Date;

@Data
@Table(name = "s_company_mark")
public class SCompanyMark {
    /**
     * 主键
     */
    @Id
    private String id;
    /**
     * 供应商id
     */
    @Column(name = "company_id")
    private String companyId;
    /**
     * 标记状态
     */
    @Column(name = "mark_status")
    private String markStatus;
    /**
     * 停用时间起期
     */
    @Column(name = "mark_stop_start_date")
    private Date markStopStartDate;
    /**
     * 停用时间止期
     */
    @Column(name = "mark_stop_end_date")
    private Date markStopEndDate;
    /**
     * 标记备注
     */
    @Column(name = "mark_notes")
    private String markNotes;
    /**
     * 标记审核id
     */
    @Column(name = "mark_audit_id")
    private String markAuditId;
    /**
     * 标记审核状态
     */
    @Column(name = "mark_audit_status")
    private String markAuditStatus;
    /**
     * 删除标记
     */
    @Column(name = "deleted")
    private String deleted;
    /**
     * 创建人id
     */
    @Column(name = "created_id")
    private String createdId;
    /**
     * 创建人姓名
     */
    @Column(name = "created_name")
    private String createdName;
    /**
     * 创建时间
     */
    @Column(name = "created_date")
    @ColumnType(jdbcType=JdbcType.TIMESTAMP)
    private Date createdDate;
    /**
     * 更新人id
     */
    @Column(name = "update_id")
    private String updateId;
    /**
     * 更新人姓名
     */
    @Column(name = "update_name")
    private String updateName;
    /**
     * 更新时间
     */
    @Column(name = "update_date")
    @ColumnType(jdbcType=JdbcType.TIMESTAMP)
    private Date updateDate;

}